import { axios } from '../libs/axiosSetting';
import addr from '../apiConfig';

export function page(params) {
    return axios.get(addr+'/a/system/page', {
        params: params,
    });
  }
  export function update(params) {
    return axios({
      url: addr+'/a/system/update',
      method: 'post',
      data: params,
    });
  }
  export function insert(params) {
    return axios({
      url: addr+'/a/system/insert',
      method: 'post',
      data: params,
    });
  } 
  export function del(params) {
    return axios.get(addr+'/a/system/delete', {
        params: params,
    });
  } 